﻿//----------------------------------------------------------------------------------------------------------------------
/*!
*   \file			ChaosLogFile.hpp
*	\author			sniperbat
*	\version		1.0
*	\date			2009-4-1
*	\brief			输出到文件的日志
*/
//----------------------------------------------------------------------------------------------------------------------
#ifndef	__CHAOSLOGFILE_HPP
#define	__CHAOSLOGFILE_HPP

#include "ChaosLog.hpp"


//----------------------------------------------------------------------------------------------------------------------
namespace Chaos
{
	//---------------------------------------------------------------------------------------
	/*!
	* \class ChsLog
	*  \brief 日志管理类，实现监听接口。
	*  \author sniperbat
	*/
	class CHAOS_API ChsLogFile : public ChsLog
	{
	public:
									ChsLogFile(wstring fileName);
		virtual						~ChsLogFile();
		virtual	void				Update();
	private:
		wstring						m_strLogDir;
		wstring						m_strLogFileName;
		wstring						m_strFileFullName;
	
		
		void						InitLogFiles();
	};

}

#endif	//__CHAOSLOGFILE_HPP
